#ifndef __GUI_H__
#define __GUI_H__

#include "SSD1289.H"

#define RGB565(r, g, b)	( (unsigned int) ((r>>3)<<11) | ((r>>2)<<5) | (r>>3) )

/* Functions */
#define Clear		LCD_Clear
#define DrawPixel	LCD_Pixel
#define FillRect	LCD_FillRect

void DrawLine(uint x1, uint y1, uint x2, uint y2, uint color);
void DrawCircle(uint x, uint y, uint radius, uint color, uchar fill);
void DrawRect(uint x1, uint y1, uint x2, uint y2, uint color);
//void DrawImage(uint x, uint y, uchar *image);

#endif //__GUI_H__
